<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <link rel="stylesheet" href="./swiper-4.4.2/dist/css/swiper.css">
  <style>
    .swiper-slide {
      text-align: center;
      font-size: 12px;
    }
  </style>
</head>
<body>
  <div class="swiper-container">
    <div class="swiper-wrapper">
      <div class="swiper-slide">新闻</div>
      <div class="swiper-slide">财经</div>
      <div class="swiper-slide">娱乐</div>
      <div class="swiper-slide">体育</div>
      <div class="swiper-slide">订阅</div>
      <div class="swiper-slide">微博</div>
      <div class="swiper-slide">空间</div>
      <div class="swiper-slide">书城</div>
    </div>
  </div>
  <script src="./swiper-4.4.2/dist/js/swiper.js"></script>
  <script>
    new Swiper('.swiper-container', {
      freeMode: true,
      slidesPerView: 5
    })
  
  </script>
</body>
</html>